import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Storage from 'vue-ls';
import '../src/assets/common.css'
import "../src/assets/reset.css"
// svg图标文件
import './icons/index'; // 引入svgIcon的文件
// import 'lib-flexible/flexible'
// rem所需
import 'amfe-flexible';
// 公共组建
// import popupModel from './components/common/popupModel'
// import toast from './components/common/toast'
// import maskModel from './components/common/mask'
import headerTop from "./views/common/Header.vue";

// Vue.component('maskModel', maskModel)
// Vue.component('popup-model', popupModel)
// Vue.component('toast', toast)
//公共导航栏
Vue.component("head-view",headerTop);

Vue.config.productionTip = false

// vue-ls
const options = {
  namespace: 'vuejs__', // key键前缀
  name: 'ls', // 命名Vue变量.[ls]或this.[$ls],
  storage: 'local', // 存储名称: session, local, memory
};
Vue.use(Storage, options);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
